package com.lancoo.ccas53.mapper;

import com.lancoo.ccas53.entity.TeacherCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lancoo.ccas53.config.MybatisRedisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 教师授课课程 Mapper 接口
 * </p>
 *
 * @author quin.song
 * @since 2024-05-21
 */
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface TeacherCourseMapper extends BaseMapper<TeacherCourse> {
    int deleteTeacherByTaskId(@Param("taskId") Integer taskId, @Param("teacherIds") List<Long> teacherIds);
}
